package com.ruoyi.system.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员优惠券对象 by_coupon_user
 *
 * @author ruoyi
 * @date 2024-03-20
 */
@Data
public class ByCouponUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    //是否选中
    private String flag;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userid;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal price;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String stime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String etime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** $column.columnComment */
    private String addtime;

    private String updatetime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserid(String userid)
    {
        this.userid = userid;
    }

    public String getUserid()
    {
        return userid;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setStime(String stime)
    {
        this.stime = stime;
    }

    public String getStime()
    {
        return stime;
    }
    public void setEtime(String etime)
    {
        this.etime = etime;
    }

    public String getEtime()
    {
        return etime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setAddtime(String addtime)
    {
        this.addtime = addtime;
    }

    public String getAddtime()
    {
        return addtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userid", getUserid())
                .append("price", getPrice())
                .append("stime", getStime())
                .append("etime", getEtime())
                .append("status", getStatus())
                .append("addtime", getAddtime())
                .append("updatetime", getUpdatetime())
                .toString();
    }
}
